package com.project.hqshorttaxi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "B_Camera")
public class Camera implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 摄像头编号
     */
    @Column(name = "CameraNo")
    private String cameraNo;

    /**
     * 部署类型（0入口1 途径点2 出口3 出入口）
     */
    @Column(name = "InstallType")
    private Integer installType;

    /**
     * 摄像头物理位置说明
     */
    @Column(name = "InstallPlace")
    private String installPlace;

    /**
     * 蓄车场号（0 南蓄1 北蓄）
     */
    @Column(name = "ParkingNo")
    private Integer parkingNo;

    /**
     * 摄像机类型（0 牌照识别摄像机1 计数摄像机）
     */
    @Column(name = "CameraType")
    private Integer cameraType;

    /**
     * 创建时间
     */
    @Column(name = "CreateTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @Column(name = "UpdateTime")
    private Date updateTime;

    /**
     * 删除标识
     */
    @Column(name = "DeleteFlag")
    private Integer deleteFlag;

    @Column(name = "IP")
    private String ip;

    @Column(name = "Port")
    private Integer port;

    @Column(name = "UserID")
    private String userID;

    @Column(name = "Password")
    private String password;

    @Column(name = "Status")
    private Integer status;

    @Column(name = "PhotoPath")
    private String photoPath;

}
